#include"Rectangle.h"
Rectangle::Rectangle(){

}
Rectangle::Rectangle(int x, int y)
{
	width = x;
	height = y;

}
int Rectangle::area()
{
	return width*height;
}
Rectangle duplicate(Rectangle param)
{
	Rectangle res;
	res.width = param.width * 2;
	res.height = param.height * 2;
	return res;
}